/**
 * 
 */
package com.pmsco.pms.business.dto;

import java.util.List;

import com.pmsco.pms.core.domain.Category;
import com.pmsco.pms.core.domain.SubCategory;

/**
 * @author Long Tran
 *
 */
public class SubCategoryReturnDTO extends AbstractReturnDTO {
	private List<SubCategory> subCategories;
	private Integer subCategoriesSize;
	private SubCategory subCategory;
	private String errorMessage;
	private List<Category> categoryList;

	public SubCategoryReturnDTO() {
		setSubCategories(null);
		setSubCategoriesSize(null);
		setSubCategory(null);
		setErrorMessage("");
		setCategoryList(null);
	}

	/**
	 * @return the subCategories
	 */
	public List<SubCategory> getSubCategories() {
		return subCategories;
	}

	/**
	 * @param subCategories the subCategories to set
	 */
	public void setSubCategories(List<SubCategory> subCategories) {
		this.subCategories = subCategories;
	}

	/**
	 * @return the subCategory
	 */
	public SubCategory getSubCategory() {
		return subCategory;
	}

	/**
	 * @param subCategory the subCategory to set
	 */
	public void setSubCategory(SubCategory subCategory) {
		this.subCategory = subCategory;
	}

	/**
	 * @return the errorMessage
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	/**
	 * @param errorMessage the errorMessage to set
	 */
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	/**
	 * @return the subCategoriesSize
	 */
	public Integer getSubCategoriesSize() {
		return subCategoriesSize;
	}

	/**
	 * @param subCategoriesSize the subCategoriesSize to set
	 */
	public void setSubCategoriesSize(Integer subCategoriesSize) {
		this.subCategoriesSize = subCategoriesSize;
	}

	/**
	 * @return the categoryList
	 */
	public List<Category> getCategoryList() {
		return categoryList;
	}

	/**
	 * @param categoryList the categoryList to set
	 */
	public void setCategoryList(List<Category> categoryList) {
		this.categoryList = categoryList;
	}

}
